package jmine.tec.web.wicket.mock;

import bancosys.tec.exception.LocalizedMessageHolder;
import bancosys.tec.exception.MessageCreator;
import bancosys.tec.exception.MessageHolder;

/**
 * MessageCreator que não retorna nenhuma mensagem
 * 
 * @author Rafael Volpato
 * @date Nov 10, 2011
 */
public final class MockMessageCreator implements MessageCreator {

    /**
     * {@inheritDoc}
     */
    public int getExpectedArguments() {
        return 0;
    }

    /**
     * {@inheritDoc}
     */
    public LocalizedMessageHolder create(Object... arguments) {
        return new MessageHolder(null, null);
    }
}
